package org.springblade.common.enums.library;

/**
 * 题目所属类别
 */
public enum AffiliatioType {

	/**
	 * 练习题
	 */
	PRACTICE("练习题", 1),
	/**
	 * 考试题
	 */
	EXAM("考试题", 2),

	;

	/**
	 * 值
	 */
	private String value;
	/**
	 * 编码
	 */
	private Integer code;


	AffiliatioType(String value, Integer code) {
		this.value = value;
		this.code = code;
	}

	public String getValue() {
		return value;
	}


	public Integer getCode() {
		return code;
	}

}
